﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;
using System.Security.Cryptography.X509Certificates;

namespace NHINDirect
{
    public interface ICertificateStore
    {
        //
        // If no certificate for address, return null
        // Throw exceptions if there was an error during retrieval, such as network issues
        //
        X509Certificate2 GetCertificate(MailAddress address);
    }
}
